﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<YourStore.ViewModels.StoreIndexViewModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Store Categorys
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h3>Browse Categorys</h3>

    <p>Select from <%: Model.NumberOfCategorys %> Categorys:</p>

    <ul>
        <% foreach (string cat in Model.Categorys) { %>
           <li>
           <%: Html.ActionLink(cat, "Browse", new { store = cat})%>
           </li>
        <% } %>
    </ul>

</asp:Content>